package com.baosight.risk.api.riri;

import com.baosight.risk.base.entity.MultipleUpdateStatus;
import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.riri.entity.RiriDutyComp;
import com.baosight.risk.service.riri.entity.RiriDutyUser;
import com.baosight.risk.service.riri.vo.RiriUserVO;
import com.baosight.risk.service.xtzy.entity.XtzyUser;

import javax.persistence.Id;
import java.util.List;

public interface IRiriDutyService extends BaseService<RiriDutyUser> {
    /**
     * 查询审核小组列表
     *
     * @param ririDutyUser
     * @return
     */
    List<RiriDutyUser> selectList(RiriDutyUser ririDutyUser);

    /**
     * 删除审核小组
     *
     * @param updateStatus
     * @return
     */
    Boolean deleteByIds(MultipleUpdateStatus updateStatus);

    /**
     * 批量添加审核小组
     *
     * @param ririDutyUsers
     */
    void addDutyUser(List<RiriDutyUser> ririDutyUserList);

    /**
     * 挑选出审核小组成员发待办
     *
     * @param vo
     */
    void chooseDutyUser(RiriUserVO vo);

    void addDutyUserByRifi(List<RiriDutyUser> ririDutyUserList);

    void updateAudit(RiriDutyUser user);

    List<RiriDutyUser> selectListByRifi(RiriDutyUser ririDutyUser);
}
